package com.yuxi.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public interface InformationSubController {
	/**
	 * 提交到初审
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/SubToFirstCheck.do",produces={"application/json;charset=utf-8"})
	public String SubToFirstCheck(int infoId,HttpSession session,HttpServletRequest request);
	
	/**
	 * 提交到复核
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/FirstCheckFilter/SubToReCheck.do",produces={"application/json;charset=utf-8"})
	public String SubToReCheck(int infoId,String remark,String operation,HttpSession session,HttpServletRequest request);
	
	/**
	 * 提交到审核
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/ReCheck/SubToCheck.do",produces={"application/json;charset=utf-8"})
	public String SubToCheck(int infoId,String remark,String operation,HttpSession session,HttpServletRequest request);
	
	/**
	 * 提交到信息研判
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/CheckFilter/SubToInfoResearch.do",produces={"application/json;charset=utf-8"})
	public String SubToInfoResearch(int infoId,String remark,String operation,HttpSession session,HttpServletRequest request);
	
	/**
	 * 提交到任务派遣
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/TaskResearchFilter/SubToTaskDispatch.do",produces={"application/json;charset=utf-8"})
	public String SubToTaskDispatch(int infoId,HttpSession session,HttpServletRequest request);
	/**
	 * 提交到即时任务派遣
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/TaskResearchFilter/SubToCurTaskDispatch.do",produces={"application/json;charset=utf-8"})
	public String SubToCurTaskDispatch(int infoId,String remark,HttpSession session,HttpServletRequest request);
	
	/**
	 * 提交到任务完成情况(生成派遣任务记录)
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/TaskDispatchFilter/taskSubToTaskFinish.do",produces={"application/json;charset=utf-8"})
	public String taskSubToTaskFinish(int infoId,HttpSession session,HttpServletRequest request);
	
	/**
	 * 即时任务提交到任务完成情况
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/curTaskFilter/curTaskSubToTaskFinish.do",produces={"application/json;charset=utf-8"})
	public String curTaskSubToTaskFinish(int infoId,HttpSession session,HttpServletRequest request);
		
	/**
	 * 打回到信息管理
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/FirstCheckFilter/ReToInfoMannger.do",produces={"application/json;charset=utf-8"})
	public String ReToInfoMannger(int infoId,String remark,String operation,HttpSession session,HttpServletRequest request);

	/**
	 * 调配任务
	 * @param infoId
	 * @param flowId
	 * @param session
	 * @param request
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/DispatchInfo/dispatchInfoToAny.do",produces={"application/json;charset=utf-8"})
	public String dispatchInfoToAny(Integer infoId,Integer flowId, HttpSession session,HttpServletRequest request);
	
	/**
	 * 结束信息
	 * @param infoId
	 * @param sesion
	 * @param request
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/subToInfoFinsh.do",produces={"application/json;charset=utf-8"})
	public String subToInfoFinsh(Integer infoId,String remark,HttpSession sesion,HttpServletRequest request);
	
	
	/**
	 * 复核打回到初审
	 * @param infoId
	 * @param session
	 * @param request
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/reCheckToFirstCheck.do",produces={"application/json;charset=utf-8"})
	public String reCheckToFirstCheck(Integer infoId,String remark,String operation,HttpSession session,HttpServletRequest request);
	
	/**
	 * 删除Id
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/delInfoById.do",produces={"application/json;charset=utf-8"})
	public String delInfoById(Integer id);
	
	/**
	 * 删除Id
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/delOwnExporId.do",produces={"application/json;charset=utf-8"})
	public String delOwnExporId(Integer id);
}

